package com.opal.modules.costReportForm.mapper.mysql;

import com.opal.modules.costReportForm.entity.table.CostApprovals;
import com.opal.modules.costReportForm.entity.table.CostApprovalsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CostApprovalsMapper {
    int countByExample(CostApprovalsExample example);

    int deleteByExample(CostApprovalsExample example);

    int deleteByPrimaryKey(Long approvalsId);

    int insert(CostApprovals record);

    int insertSelective(CostApprovals record);

    List<CostApprovals> selectByExample(CostApprovalsExample example);

    CostApprovals selectByPrimaryKey(Long approvalsId);

    int updateByExampleSelective(@Param("record") CostApprovals record, @Param("example") CostApprovalsExample example);

    int updateByExample(@Param("record") CostApprovals record, @Param("example") CostApprovalsExample example);

    int updateByPrimaryKeySelective(CostApprovals record);

    int updateByPrimaryKey(CostApprovals record);
}